package javabean;

import java.util.Date;

public class MiniFund {
    private Integer id;
    private String project;//项目
    private Double amount;//金额
    private String date;//日期
    private Double balance;//余额

    public MiniFund() {
    }

    public MiniFund(Integer id, String project, Double amount, String date, Double balance) {
        this.id = id;
        this.project = project;
        this.amount = amount;
        this.date = date;
        this.balance = balance;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return project
     */
    public String getProject() {
        return project;
    }

    /**
     * 设置
     * @param project
     */
    public void setProject(String project) {
        this.project = project;
    }

    /**
     * 获取
     * @return amount
     */
    public Double getAmount() {
        return amount;
    }

    /**
     * 设置
     * @param amount
     */
    public void setAmount(Double amount) {
        this.amount = amount;
    }

    /**
     * 获取
     * @return date
     */
    public String getDate() {
        return date;
    }

    /**
     * 设置
     * @param date
     */
    public void setDate(String date) {
        this.date = date;
    }

    /**
     * 获取
     * @return balance
     */
    public Double getBalance() {
        return balance;
    }

    /**
     * 设置
     * @param balance
     */
    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String toString() {
        return "MiniFund{id = " + id + ", project = " + project + ", amount = " + amount + ", date = " + date + ", balance = " + balance + "}";
    }
}
